virtual: fix for single gate