removed the preRenderview call completely