Fixed timing bug on pages