Changed IF of Renderer