fixed doc errors, query returns boolean with string query