prepare for exists del and clear