fix RAP detection for the EL