Fixed one leftover of the wrong variable assigments