fixed typo in "substitute"