fixing Rakefile and lint checks