Fixed rake errors