moved terminal fix from system