fix the prefix bug