Fix memory released in ie9