fix reloading nb failing with not found (encoding)