Fix leo-project/leofs/issues/247