changed render to fix end flash
upgraded tag