Fix a bug when sw or sh (but not both) is specified
v0.3.1-pl