fix fetching for teachers, improve result-check (fix #15)