Bugfix if Facebook is not enabled.