fix post layout bug