fixed build bug for swe