fixed permissions so fb stuff doesn't crash