remove profile link from query history page