fix error caused by situation when there are no dummies