fixes JaviSoto/JSBadgeview#9