put the pause back in captureImage [1303]