removes scaffolding codes