registeration error fix