working on the bug found in multiple terminal instance creation.
bug in the multiple terminal instances is fixed.