fixed a prefix bug