fixed gated clocks

yay