added default path for image fields with nil value