removing service declaration