register fixes