Fixed issue with tabs not working