fixed bug about classwork_id of studentlogs