Update bitbucket.php

fixed bugs