clean unnecessary scaffolding text