fix hardcoded date problem