Bug fix in rakefile