before fixing logs