fix compat with stash 3.2+ (fix #10)