fix bug when request.args was empty