fixing path in agent/etc