quick hack on registry since it returns null for too many objects.