fixing pact query issue
fixing pillowstate active pillows ref