fix date ordering

workaround...