register fixes

more fixes