fix bug with gauge support