fix page and post render