fixed the github api