Fixed mis-order of arguments on wsgi app