minor changes on hiding display