fixed tabs bug