Init service id to 0