added logic to remove best-fit profile of nbr