fix active editor change handler