trim down the scaffold