solved some bugs and services resources and dependency configuration