Fixed invalid variable error.