robustify helper