fix loop over images array instead of single element