popup: using original scope instead of child scope