Fixed the code that has been rewritten by the commit test.