repaired some rake issues