fixed errors on report preview windows not loading.