improved input checking