fix(deployment) make deployment a bit more robust