bug fix on post layout