fix bug in order controller decorator