fix pageref on mm8 layout