adjust registering ui module before extension module