Remove array brackets from @posts value