Bug fix/ update X to switch between units.