remove unused property on document