fix student can't access submission due to scope problem