Choice of gauge in quantum gravity