remove extra code after scaffolds