Fixed an undefined var now used with the right one