fix doOutput breaks GET request bug.