bug fix on provision-pre