Bugfix: forgot to define npw after removed from use statement