dont try to find dataset if menu is null