fixed bug that sets shiftwidth for component code