add docs string and clear profiles after show or dump