vid to getCourseInStudip() call added