fixes the roi selection issue #72