added autogenerate on compile