better performance for main collection view
removed warning