fix dependency bug, that appears on windows
extract service component