problemopts now ok, type problems with registering probably solved