fix checkIfPageLoaded schedule setting