was getting duplicate posts on thumbnail view