minor adjustments for https://prm.ctmed.ru/redmine/issues/510