Fixed the bug, commented log messages out