casting $collection name to sting