Remove debug arguments in render function