fix shadow sample for new global scope name