fixing problem with prerenderReady