fixed error with logging