fixing queries
k