bugfix print as POST or GET