extend class for checking past date after the user manipulate the date
fix merge conflict