fixed layout shift when signing