fixed page buffer allocation and setting time to prevent lockup