fixed registration error

revert true false statement