fix supporting multiple extra modules