Fixed the className allocation error message.