updated LEAP profile detection