fixed page change race condition