in case of incorrect phase sequence; with switching for obtaining correct phase sequence