bug fixes for viscousWall bc