Debug key added

Fixed Debug key.
Fixed layout in register