fixed externalization