fix github detect