fix a bug related to report autoOpen