fixed prev next post bug