handle null/blank images