Trying to fix registration