made terminal work in new design