register fix.