restore delete in delWindow