date modified in order not working fix