Fix terminal pallete