Cut is not actually used
fix substitution