gallery_picker - bug fix