fix a couple of compound registration bugs