Fixed copy paste issue that the element did not get initiliaze