fixed a few medical tab bugs