Bug fixing: error when renaming variable in create_datasets and shared datasets addition