reset properties of component display when it is disposed