delete obsolete datasets first