changed class delete warning msg