Fixed variable error