removed unnecessary attribute directive