fixed Issue #1342, updated input validations