Revert "fixed isQ"

This reverts commit 963fced54c8eb45c44a89452699bcacce9c06699.