fix loading logic, only one was loaded