fixed the RE issue