Fix README
fix bug in function substitution