Gates fix