fix bad check on images, more responsive refinement