fixed error rendering blank pages