bugfix in showreg