fix logMessage refact error
fix again