bugfix: empty image build error