fixed bug with page factory reset from current thread