fixes bug where blank image field displayed as a broken image