fix #7, print log msg when MT_DEBUG_MODE is TRUE