Improve code quality of assemble config