fixed bugs
- fixed bugs in the void request mechanics
- refactored some code in the capture functional test