gustafn
committed
on 09 Mar 22
improve robustness on invalid input