picture chooser - bug fix