image selection fix