Fix savedev function name