improve register comments