fix bug when stripBanner option both set true

@jmeas i add a new pull request which already squash commit history