cleanup of Github logic