tryed to fix registration, is not working now