second check only if first failed, closes #32