delete needless function in order controller