giving up. works in .nb kernel