Fix for headers in modalRegister