fixed issue with nil order maps