Fixed a double posting bug and twisted demo