mid problem with tab being inserted