Bug fixes for nwc stylesheets