fixed problem with Collections