edit reg controller
edit reg controller
reg fixes