fixed some loop poop