fix student tables