fixed issue related to date format