Fix TypeError{} on stash