set attributes back