fixed some bugs for the fb and twitter buttons...and some other stuff too