When compliance gaps turn into expensive lessons