Fixed message log bug