added and fixed delete single class