bugfix - missing values caused error