fix change wait_index to waitIndex; we do not use post in 0.2