remove old closure warning options