added date check for eval