add missing elements