add count to fix click problem (more than 2 can display at the same time)