plotprofile bug fix