Modify workaround code for facebook server error.