Fixed service restrict bug