fix for enablecom flag