Bug fixed about set properties to blanck image attributes