fix id variable pulling options.filename