fix query manager, ++increment fields method