null image bug fixed