-fixed some bugs
-service discovery just from online service resources