small fix to image logic
v1.2.1