profiles bug fix