updated close to not remove elements