Fixing issues with the actual terminaly functionality caused by my last update

Fixing issues with the actual terminaly functionality caused by my last update