fix usage with collections