Fix issue with gaussian builder