Fixes reddit issue and facebook undefined