fixed accepted bug on prof page