fix on gate() function. SSC_H was not being gated.