Fix leo-project/leofs#229
Fix leo-project/leofs#230