fix bug -- without posts folder it would crash