profile potential bug fix