fixed class not exsit bug