fixed sequence query #2