fix small bug of register