Removed unneeded second parameter for the render function