improved servicenames parsing