correct prefix bug