fixed error with tabs