fix appropriate profile helper bug