#1657 repaired able to delete default class