fixed error date