Mystery spring for carb?

1000006528.jpg1000006529.jpgwhere does this spring go? Found it laying under aircleaner. Would this cause the engine to be hard start/not stay running?