accomodate some github deprecation