rewrite serverside garbage output