fixed findById(collection) method.