fixed registrations and loading assets