improve posts init