fix registry import (again).