avoid hooks for virtual devices