Fixed hidden variable warning.