optimal subset / go bug fixes