In reply to apinchev:
Could you please explain what you are doing in both phases, check_phase and report_phase.