bug fix for pinterest button