Fixed all main teacher dashboard issues