delete old layers