fix some extra registration stuff