fixing bug with double encoding notebook_name