fixed friendship relation and table