fixing double view count