Fix id option on agent service register