fix readonly tabs