Fixing bad resource keys