Improve auto module coloring