removed unwnated elements