fixing missing elements