strip headers from output