Fixing embedded resource reference