fixing redundant additions