adding some protection during insertion/deletion animations