minor changes to register