fix issue with breakpoints in ems
fix issue with ems