Fixes error in admin and faculty profile.