fixed a couple issues with CSS being disabled