Fixed bug that caused facebook not to work