added exception catch by missing elements