small typo for render function