"<!DOCTYPE html><html>" was showing up in the final html