Small typo in error handling.