fix tagged-like scope