Fixes HTML issues