Remove unnecessary function() in renderXX