fix bitbucket deployment