Remove two check points of badInput