Fix for in loops