fix lint problem and add generated files