cleanup on profile viewer