refix: headers already sent