Fixed incorrect variables name.