removing more useless attributes