Fix NullPOinterException when  invite buddy