streamline student view and fix error