Issue #96 restored deleted line in reg controller