changed mentioned logging mistakes