contracts id theming fix