fix terminal stupidity bug