remove redundant dot checks