fixed sw for component files