Removed duplicate line
Changed variable name
Added missing file to warnings list