better benchmarks and fix set default on set_attributes