Fix terminal profile