bugfix for image binary load