removed unnecessary prefix regeneration