Fix bad reassignment