fixed bugs in getgithub