github api code cleanup