rm generated code and commit select and circular buffer