add the github undefined logic