Add missing variable name and remove extra period