fix add friends to be valid