remove redundant clear