fix rakefile
fix many things