fix bug for zero order