fixing bug so that 404 etc get a nice style too