fix rake and generator