fix return dictionary option

changed dict=False keyword to return_dict