fix pages build failed.