Fixed error in debug log