removed instance check for is_date()