remove unrequired properties