remove redundant assertion