fixed bug when not properly returing from a job
fixed state updating when capturing charges