fix for issue #42

fix for https://github.com/danilop/yas3fs/issues/42