Fix some bugs regarding IPTC