refactor c11n loading