Fixed little mistake in reg fix.