debugging registration