Fix external apps error