removing keys from notebooks