add local gauge transformation