fixing rake errors