bugfix - do not show empty dropdown