Fixed headers and removed console.log