fixed squirrely bug