continued debugging of preference handler