bugfix register