refactor null image