visualizing found rect
minor fixes