fixing html respond