Fix rake withou global var