maybe finally almost the right github detect fix