restrict scope of yaml import