fix modified on query