Fixed invalid variable declarations.