fix bad type on image