fixing queries in seeds