code cleanup. removed html from pretty printing representation