fixed double prefix bug