Fixed issue with tabs not functioning