Fix invalid variable declaration