This somewhat fixes the facebook integration.