eliminate a redundant check