resolve issue related to new attribute add without image