add simple query engine, to enable observer filter and fix size problem