fix npe if no alts plugin is found.