get services with query works