fixed dependency error with ruby1.8