created date bug fix