Remove code that'll cause 'headers already written' warning