fix to prefix bug