Previous Class units are displayed at newly created class issue resolved