remove unneeded properties