add attribute when proxying