fixing bug on github api