delete unecessary information