loops fixed