remove redundant switch delay in set