auto select image bug