fix mode logging more