fix date output