Fixing bug in registration handler