fix prefixservice bugs