remove needless properties