Fixed the whole terminal thing again

resolves #2