fixed index displaying only 1 post