register and format exports handling fixes