stable query for current command