improve blogpost helper