layout post bug fix