small changes to registration