fix php<5.4 bug
argument reorder