fixed prefix bug