#4 fix terminal closing after every command