fixed up bitly function

Signed-off-by: franszo <franszo.design@gmail.com>