fix multiple add for rep