Fixed bugs on posts