fixed arguments in collection_names
fixed some python 3 compatibility