fix indentation in calculation of productID