fixing G-Reg startup issue