Fix leo-project/leofs/issues/165