base element templates corrected and if no component on screen then tab should not give error