register date bug fixed