fixing collecitonview bug