fixed github API call