scalar fix