remove some validity checks (try to improve speed)