fixes for view count