changing ImageSelector to sync both branches