fixed notebook switch (again...)