remove uneeded attribute