fix fs.rb type