Change @post ivar into a local var