terminal fix