Fixed a variable error