combine pkg and service states