add class for post's html
fix intent