modify advanced-types and stb