Fix gauge offsets (#163)

Fix clang compiler errors