set dooutput to true if not a get method