fixed sloppy mistake in load querying