fix single service nil bug