fixed php tag error on post index view