fix GenLoader to handle cases where the matched particle does note exist