whoops! error was wrong for registered variable.
updated ohmic