registration error fix