remove useless attribute