fixed basepath for posts