localize page variables into page local