clean up and bug fix. added detail like view.