changed appear/disappear interface.