fixed answer_output_packet logic
Merge branch 'working'