fixes to referendum loader