fixed math on auto add to order