Fixed - there was a problem with the tpl_main