fix for no-stylus issue #42