a little fix for orderhandler and change time format