Fixed QSA constructor
still working towards https://github.com/x-tag/core/pull/34