Correcting the momentum program preprocessing