Make ratchet work in gecko