fix posting bug