fixing image composer bug