corrected error stopping student view from working