fixed offset in compimage