[fix] undefined vars in install script