smaller bugfixes

- show only one legend when only primary data set is provided