corrected bug w/ type checking in registrations