fix layout notice after register