removed image from list if there wasnt one