remove useless type requirement