corrected log string placement