Fixed the refresh bugs related to classifications