fixes of layout, logic for posts