support restrict entities via options