Fixed some errors in the "register" section