deleted useless elements