Fixed an invalid variable