Fix bug in generating bit.ly url