fix amid-service