Remove debugging calls in the render function