log fix, wait for page load added