changed some registration things