fixes #2977 - output headers removed