Fix resource string (multi-branch) bug