was hitting the github api twice