remove square brackets in posts