allowed prefix bug fix