Fixed variable reuse warning.