remove the useless attribute