gustafn
committed
on 06 Mar 19
improve input checking