make tooltip work in notebook