Removed old code from units tab