added in Garage
fixed resource leaks