Fix bug in rendering.
Fix typo.
Remove unused require.