Fixing bugs on provision and delete calls