fixed gauge metadata bug