Tabs are now working. Some code was not generated causing th bug