remove obsolete code
attributes