added condition for 0 comments to views, and formatting