Update syntax.php

moved resolver of pageid