fixed a period reset issue
fix redirect of iframes