time format error fixed