handle service dependencies