fixing refresh behavior on test page