fix for depot management