BUG#1366 two-level string substitution