Fix minor bug on pre provision script.