gate offset fix; color changes