Fixes a bug when parse payload from github