Bugfix with reg design