corrected log output