Fixed bug that allowed for multiple registrations