add warning style in submodule