Try .encode in base pages