fixed the bug when entering an invalid birthdate i.e. a year before 1912