remove old metadata