extension to replacing NsPrefrixes