removes useless property