small fix for depot saving