fixed base url issue on posts