while on render fixed to Do While