Check on element existence

There is a error - if the element isn't created.