Cleanup register formatting