fixing some error rake