Yeah my gatehouses are stuffing up too. Even when my gates are open units can't go through them. So now I have units stuck in my city and the rest stuck outside. Also my gatehouse keeps saying I can upgrade it when I already have multiple times.
Don't take life too seriously. You will never escape it alive anyway!