Fix wrong modification