rewrite results for logs and listing