fix for incorrect filtering of shebang on the shar