Attempted fix to the friend id problem