fixed the last commit's bug. last version will make social widgets not work.