cleanup dateformat