fix double substraction