delete unwanted keys