some registration fix