Fixed logging error

sorry