minor registration cleanup