bugfix reg +