fix the layout bug in post files