fixed minolta None/NaN issue