fixing current-profile setting