fix errors in rakefile