fixed github functions