remove redundant delegate windows