better hiding of terminal