check unreg options in remove_reg/3