corrections to bom-ex and enhancements