fix argument error for deploy callbacks