shouldn't it be reset after the query ?