fix the using github api problem