fixing rendered page