onconsole dispose