Fix terminal