remove redundant qualifiers