fix service declaration