Fix for the notorious foo bu

Hey guys. This change what as beast. I added a new foo-bug file that fixes it. Check it out!