fix in querys