fix date type for race model