fix dateformat dependency