fixed student index: added foreign_id_code