fix an re error