Fixed the bug commited previously.