Fixing sharing, header, and footer

resolve #3
#1