fixes bug whre no friendselected gavea nil method error