bug fix
Merge pull request #65 from cfinn2010/master

bug fix on profiles