Fix loops load bug