fix nsbp + html replacement