remove uesless item in returing dictionary