Fix a require.
Fix nil exception.