replace pyfeature